doctype html
html(lang="en")
    head
        - var name = 'Jade'
        - var title = 'blog'
        //- title= name; 只有变量的时候可以直接用
        title My Site - #{title}
        meta(charset="utf-8")
        link(rel="stylesheet", type="text/css" href="/stylesheets/style.css")
        block scripts
            script(src='/jquery.js')
    body
        h1 Jade - node template engine
        #container.col
            if name === 'Jade'
                p #{name} is very cool
            else
                p Get on Jade
        footer
            p.
                Jade is a terse and simplae
                templating language with a
                strong focus on performance
                and powerful features.

                //- block 结合 extends 关键字预定义一个模板供其他模板调用; 如果父模板中定义而子模板中没有定义时, 默认显示父模板中的内容
                //- 只会覆盖 block 这个缩进里面的东西
                block content
                block content2
                    p hello
